import styles from "./read.module.css"; import Image from "next/image"; import DownloadManga from "./download"; import CurrentReading from "./currentReading"; export const runtime = "edge"; export default async function Read({ params }) { const chapterId = params.read; const results = await getPages(chapterId); const image_base_url = results.baseUrl + "/data/" + results.chapter.hash; if (results.length === 0) { return (
This chapter has no content. Please check the next chapter.
Total pages: {images.length}
{images && images.map((item, index) => ({index + 1}